<style>
    div.layui-form-item {
        margin: 0px;
    }
    div.layui-input-block {
        padding-top:8px;
    }
    label.layui-form-label {
        width: 150px;
        color:#009688;
        padding-left: 0px;
    }
</style>
<div class="row content-nav">
    <div class="col-xs-12">
        <ul>
            <li><a href="javascript:;"><i></i>&nbsp;盈利管理</a></li>
            <li><a href="javascript:;">概况</a></li>
        </ul>
    </div>
</div>


<section class="content">
    <?php
    $i = 0;
    foreach($data as $value){
        ++$i;
        $rounding = $i%2;
        ?>
        <?php if($rounding == 1 && $i > 1){ ?>
            <div class="layui-col-md12" style="height: 15px;"></div>
        <?php } ?>

        <div class="layui-col-md6" <?php if($rounding ==1) { echo 'style="padding-right: 15px;"'; } ?> >
            <div class="layui-card ">
                <div class="layui-card-header layui-bg-green"> <?=$value['title']?> </div>
                <div class="layui-card-body">
                <?php foreach($value['list'] as $tr){ ?>
                    <div class="layui-form-item">
                        <label class="layui-form-label"><?=$tr['key']?>：</label>
                        <div class="layui-input-block"><?=$tr['value']?></div>
                    </div>
                <?php } ?>
                </div>
            </div>
        </div>
    <?php } ?>

</section>